package com.xg.java.config;

public enum DocumentEnum {
    ZERO(0,"真实性"),ONE(1,"完整性"),TWO(2,"可用性"),TREE(3, "安全性");
    private int state;
    private String info;

    //构造方法（枚举的构造方法只允许private类型）
    private DocumentEnum(int state, String info){
        this.state = state;
        this.info = info;
    }

    public int getState(){
        return state;
    }

    public String getInfo(){
        return info;
    }
}
